The PATH_SEP function returns the proper file path segment separator character for the current operating system. This is the character used by the host operating system for delimiting subdirectory names in a path specification. Use this function instead of hard-coding separators to make code more portable.
This routine used to be written in the IDL language, but was rewritten in the C programming language for IDL 7.1.
Result = PATH_SEP( [, /PARENT_DIRECTORY] [, /SEARCH_PATH] )
Returns a string containing the specified separator character.
None.
Specify at most one of the following keywords:
If set, PATH_SEP returns the standard directory notation used by the host operating system to indicate the parent of a directory.
If set, PATH_SEP returns the character used to separate entries in a search path.
5.5 |
Introduced |
7.1 |
Rewritten in C code. |